package com.buba.springboot.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.buba.springboot.pojo.user;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;


@Mapper
public interface userMapper extends BaseMapper<user>  {

    List<user> findall(@Param("username") String username);
    Integer deleteUser(Integer id);
    void dels(List<Integer> id);
    Integer updateUser(user form);
}
